package org.csmzxy.class2333;

public class Example2 {
    public static void main(String[] args){
        String s1 = new String();
        System.out.println(s1);

        String  s2 = new String("abc");
        System.out.println(s2);

        char[] chars = {'h','e','l','l','o'};
        String s3 = new String(chars);
        System.out.println(s3);

        byte[] bytes = {97,98,99};
        String s4 = new String(bytes);
        System.out.println(s4);
    }
}
